# Embed the server root certificate into the final binary
idf_build_get_property(project_dir PROJECT_DIR)
idf_component_register(SRCS "native_ota.c"
                    INCLUDE_DIRS "."
                    PRIV_REQUIRES app_update
                                  esp_http_client
                                  driver
                                  esp_event
                    EMBED_TXTFILES ./server_certs/ca_cert.pem)
